@charset "utf-8";
@import "common/reset";
$color:#C01734;
.wrap {
    width: 100%;
    header {
        width: 100%;
        //1
        .topnav-wrap {
            background-color: #333333;
            .topnav-box {
                width: 1230px;
                height: 40px;
                margin: 0 auto;
                position: relative;
                z-index: 999;
                ul:nth-of-type(1) {
                    li {
                        float: left;
                        margin-right: 25px;
                        a {
                            font-size: 12px;
                            line-height: 40px;
                            color: #b0b0b0;
                            &:hover {
                                color: white;
                            }
                            &.active {
                                color: white;
                            }
                        }
                    }
                }
                ul:nth-of-type(2) {
                    li {
                        float: right;
                        padding: 0 10px;
                        a {
                            font-size: 12px;
                            line-height: 40px;
                            color: #B0B0B0;
                            &:hover {
                                color: white;
                            }
                        }
                    }
                }
                .top-scar {
                    display: inline-block;
                    width: 120px;
                    height: 40px;
                    font-size: 12px;
                    line-height: 40px;
                    color: #B0B0B0;
                    background-color: #424242;
                    text-align: center;
                    overflow: hidden;
                    cursor: pointer;
                    i {
                        font-weight: bold;
                        padding-right: 5px;
                    }
                    &:hover {
                        color: $color;
                        background-color: white;
                    }
                    &:hover~.scar-details {
                        height: 100px;
                    }
                }
                .scar-details {
                    position: absolute;
                    top: 40px;
                    right: 0;
                    z-index: 1;
                    width: 323px;
                    //height: 100px;
                    height: 0;
                    background-color: white;
                    box-shadow: 0 4px 5px rgba(0, 0, 0, .2);
                    overflow: hidden;
                    transition: all .3s linear;
                    .scar-none {
                        font-size: 12px;
                        color: #333333;
                        text-align: center;
                        line-height: 100px;
                    }
                }
            }
        }
        //2
        .header-wrap {
            width: 1230px;
            margin: 0 auto;
            .search-box {
                width: 100%;
                margin-bottom: 20px;
                .index-logo {
                    width: 234px;
                    height: 70px;
                    margin-top: 22px;
                    margin-right: 5px;
                }
                .header-search {
                    position: relative;
                    width: 452px;
                    height: 45px;
                    margin-top: 40px;
                    input {
                        position: absolute;
                        top: 0;
                        left: 0;
                        width: 400px;
                        height: 40px;
                        padding: 0 10px;
                        border: 1px solid #e0e0e0;
                        font-size: 14px;
                        line-height: 40px;
                        outline: none;
                    }
                    button {
                        position: absolute;
                        top: 0;
                        right: 0;
                        width: 52px;
                        height: 40px;
                        border: 1px solid #e0e0e0;
                        font-size: 24px;
                        line-height: 20px;
                        background-color: white;
                        color: #616161;
                        outline: none;
                        font-weight: bold;
                        transition: all .2s linear;
                        &:hover {
                            color: white;
                            background-color: $color;
                            border-color: $color;
                        }
                    }
                }
            }
            .classifyall {
                width: 234px;
                background-color: #c01734;
                height: 38px;
                line-height: 38px;
                color: white;
                padding-left: 30px;
                span {
                    font-size: 14px;
                }
                img {
                    //float: right;
                    width: 15px;
                    height: 7px;
                    margin-top: 15px;
                    margin-right: 20px;
                }
            }
            .header-nav {
                width: 970px;
                height: 38px;
                ul {
                    position: relative;
                    li {
                        float: left;
                        height: 38px;
                        >a {
                            display: block;
                            padding-left: 40px;
                            color: #333333;
                            font-size: 17px;
                            line-height: 38px;
                            &:hover {
                                color: $color;
                            }
                        }
                        &:hover .nav-select {
                            height: 230px;
                        }
                        .nav-select {
                            position: absolute;
                            top: 38px;
                            left: -260px;
                            z-index: 9999;
                            width: 1230px;
                            height: 0;
                            background-color: white;
                            transition: all .2s linear;
                            overflow: hidden;
                            ul {
                                padding-top: 40px;
                                height: 200px;
                                li {
                                    width: 200px;
                                    height: 100%;
                                    text-align: center;
                                    padding-top: 5px;
                                    line-height: none;
                                    .pro-img {
                                        margin-bottom: 20px;
                                        a {
                                            display: block;
                                            font-size: 0;
                                            width: 100px;
                                            height: 100px;
                                            margin: 0 auto;
                                            img {
                                                width: 100%;
                                            }
                                        }
                                    }
                                    .title {
                                        padding: 0 10px;
                                        a {
                                            font-size: 12px;
                                            color: #333333;
                                        }
                                    }
                                    p {
                                        font-size: 12px;
                                        color: $color;
                                        margin: 0;
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
    //
    //底部内容------------------------footer-----------------------
    footer {
        width: 100%;
        .footer-box {
            width: 1230px;
            margin: 0 auto;
            .foot-serve {
                padding: 27px 0;
                border-bottom: 1px solid #e0e0e0;
                ul {
                    li {
                        float: left;
                        width: 19.8%;
                        height: 25px;
                        border-right: 1px solid #E0E0E0;
                        line-height: 25px;
                        text-align: center;
                        a {
                            font-size: 16px;
                            color: #616161;
                            img {
                                width: 24px;
                                height: 25px;
                                vertical-align: middle;
                            }
                            span {
                                vertical-align: middle;
                            }
                            &:hover {
                                color: $color;
                            }
                        }
                        &:last-child {
                            border-right: none;
                        }
                    }
                }
            }
            .foot-nav {
                padding: 40px 0;
                .col-links {
                    width: 162px;
                    height: 112px;
                    margin: 0;
                    dt {
                        margin: 0 0 26px;
                        font-size: 14px;
                        line-height: 1.25;
                        color: #424242;
                    }
                    dd {
                        margin: 10px 0 0;
                        font-size: 0;
                        a {
                            font-size: 12px;
                            color: #757575;
                            &:hover {
                                color: $color;
                            }
                        }
                        &:first-child {
                            margin: 0;
                        }
                    }
                    p {
                        font-size: 14px;
                        color: #424242;
                        line-height: 1.25;
                        font-weight: normal;
                        padding-bottom: 26px;
                    }
                    a {
                        img {
                            width: 70px;
                            height: 70px;
                            vertical-align: middle;
                        }
                    }
                }
                .col-contact {
                    float: right;
                    width: 242px;
                    border-left: 1px solid #E0E0E0;
                    text-align: center;
                    color: #616161;
                    .phone {
                        margin: 0 0 5px;
                        font-size: 22px;
                        line-height: 1;
                        color: $color;
                    }
                    .time {
                        font-size: 12px;
                        margin: 0 0 16px;
                    }
                    .hour-24 {
                        display: inline-block;
                        width: 158px;
                        height: 38px;
                        padding: 0;
                        margin: 0;
                        border: 1px solid $color;
                        font-size: 14px;
                        line-height: 38px;
                        color: $color;
                        cursor: pointer;
                        transition: all .4s linear;
                        &:hover {
                            color: white;
                            border-color: $color;
                            background-color: $color;
                        }
                    }
                }
            }
        }
        .foot-copy {
            width: 100%;
            padding: 22px 0 20px;
            background-color: #fafafa;
            //font-size: 12px;
            .copy-content {
                width: 1230px;
                margin: 0 auto;
                p {
                    font-size: 12px;
                    color: #B0B0B0;
                    line-height: 38px;
                }
                .copy-links {
                    a {
                        margin: 0 10px;
                    }
                }
            }
        }
    }
}